package com.bookcode.entity;

import lombok.Data;

import javax.persistence.*;
import java.util.Date;

//签到记录,记录学生签到
@Table(name = "t_sign_recorder")
@Entity
@Data
public class SignRecorder extends BaseEntity {

    @Column(name = "course_id")
    private String courseId;//课程id
    @Column(name = "student_id")
    private String studentId;//学生学号
//    @Column(name = "student_xuehao")
//    private String xuehao;//学号
    @Column(name = "student_name")
    private String name;//姓名
    @Column(name = "sign_key")
    private String key;
    @Column(name = "sign_time")
    private Date time;
//    @Column
//    private Long courseId;
//
//    @Column
//    private Long  studentId;

/*
    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }
*/
}
